package com.ruoyi.project.modules.productVersionObejct.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品版本项目对象关系对象 t_product_version_obejct
 * 
 * @author smallrain
 * @date 2021-11-06
 */
public class ProductVersionObejct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 表ID */
    @Excel(name = "表ID")
    private Long tableProductVersionId;

    /** 关联对象类型（1-表对象ID 2-页面ID 3-用况ID 4-业务系统ID 5-接口ID 6业务需求ID） */
    @Excel(name = "关联对象类型", readConverterExp = "1=-表对象ID,2=-页面ID,3=-用况ID,4=-业务系统ID,5=-接口ID,6=业务需求ID")
    private String objectType;

    /** 关联对象ID */
    @Excel(name = "关联对象ID")
    private Long objectId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTableProductVersionId(Long tableProductVersionId) 
    {
        this.tableProductVersionId = tableProductVersionId;
    }

    public Long getTableProductVersionId() 
    {
        return tableProductVersionId;
    }
    public void setObjectType(String objectType) 
    {
        this.objectType = objectType;
    }

    public String getObjectType() 
    {
        return objectType;
    }
    public void setObjectId(Long objectId) 
    {
        this.objectId = objectId;
    }

    public Long getObjectId() 
    {
        return objectId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tableProductVersionId", getTableProductVersionId())
            .append("objectType", getObjectType())
            .append("objectId", getObjectId())
            .toString();
    }
}
